home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / gfx / show / mpeg2dctv10.lzh / fast.doc next >
Text File  |  1993-04-11  |  3KB  |  55 lines

  1. The latest update to 'mpeg2dctv' now features two new dither options,
  2. -fast and -fastc.  These options take the data output by the MPEG
  3. software, and convert the data directly to DCTV output using a routine
  4. I wrote, as opposed to the -color and default dither options, which
  5. convert the MPEG data to RGB, then use the dctv.library routines to
  6. convert the RGB data to DCTV output.  The -fast and -fastc routines are
  7. based upon the work of Allen Braunsdorf, whose DCTV code served as the
  8. starting point and inspiration for my routines.
  9.  
  10. The two fast dither options are as follows:
  11.  
  12.    -fast  This will take MPEG luminance data and convert directly
  13.           to DCTV luminance values.  It _does_ _not_ write the
  14.           DCTV luminance values in standard DCTV format.  Instead,
  15.           this option is optimized to display as quickly as possible.
  16.           The output will be displayed properly by the DCTV hardware,
  17.           but _cannot_ be loaded by Digital Creations' software.
  18.           However, all other display programs (superview, display,
  19.           m, etc.) will display the pictures output by this option.
  20.           Further, the output can be converted to anim format, and
  21.           will actually create anims significantly SMALLER than anims
  22.           created from standard DCTV pictures.  On a 25MhZ Amiga 3000,
  23.           the -fast dither option will average about 2.5 frames/second
  24.           for a 160x120 MPEG stream, and about 0.9 frames/second for
  25.           a 352x240 MPEG stream.  The -fast dither option's pixel
  26.           write speed is around 860,000 DCTV pixels per second.
  27.  
  28.    -fastc This will take MPEG luminance and chrominance data, convert
  29.           directly to DCTV luminance and chrominance values, and create
  30.           a DCTV display from the DCTV luminance and chrominance values.
  31.           It will write the output in standard DCTV format.  It is not
  32.           as fast as it could be, because it is necessary to bound check
  33.           for MPEG streams which contain "NTSC illegal" colors, that is,
  34.           colors which have RGB values too close to 255, which create
  35.           oversaturated NTSC colors, and in certain instances, go
  36.           beyond the boundaries of the DCTV display format, creating
  37.           unsightly artifacts.  On a 25 MhZ Amiga 3000, the -fastc
  38.           dither option will average about 1.9 frames/second for a
  39.           160x120 MPEG stream, and about 0.75 frames/second for a
  40.           352x240 MPEG stream.  The -fastc option's pixel write speed
  41.           is around 400,000 DCTV pixels per second. 
  42.  
  43.  
  44. Special thanks to Allan Braunsdorf, whose information about the DCTV
  45. display format and the DCTV raw format allowed me to create routines to
  46. bypass the dctv.library and write directly to a DCTV display.
  47.  
  48. -Benjamin Reich
  49.                    Portal:    Counsellor
  50.                    Delphi:    BEN_RICH
  51.                    Usenet:    Counsellor@cup.portal.com
  52.                    U.S. mail: 805 Lincoln Drive
  53.                               Voorhees, NJ  08043
  54.   
  55.